﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="listtainguyen.ascx.cs" Inherits="controls_client_listtainguyen" %>
<div id="breadcrumb">
                <ol>
                    <li class="breacrumbs_home"><a href="index.html"></a></li>
                    <li class="last"><b>Tài nguyên Viet Star</b></li>
                </ol> 
                <div style="float:right">
                    <img src="images/icon/alarmd.png" style="width:26px; height:26px; position:absolute; margin:-5px 0 0 -30px" />
                    <div id="mylabel" style="font-size:17px; font-style:italic; text-shadow: black 0.1em 0.1em 0.2em; "></div>                                                       
                </div>
       </div> 
<div class="blog">
                <div class="inbox-sf">   
                    <asp:TextBox Font-Size="X-Small" Width="100px" ID="txtTuKhoa" runat="server" onFocus="if(this.value=='Tìm kiếm driver')this.value='';" onBlur="if(this.value=='')this.value='Tìm kiếm driver';" value="Tìm kiếm driver" class="input-1"></asp:TextBox>                 
                    <asp:DropDownList Font-Size="X-Small" ID="ddlHeDieuHanh" runat="server" class="select-1" Width="100px">
                        <asp:ListItem Value="0">Hệ điều hành</asp:ListItem>
                    </asp:DropDownList>  
                    <asp:DropDownList Font-Size="X-Small" ID="ddlNhaSanXuat" runat="server" class="select-1" Width="100px">
                        <asp:ListItem Value="0">Nhà sản xuất</asp:ListItem>
                    </asp:DropDownList>                  
                    <asp:DropDownList Font-Size="X-Small" ID="ddlDriver" runat="server" class="select-1" Width="100px">
                        <asp:ListItem Value="0">Driver+Soft</asp:ListItem>
                    </asp:DropDownList>                    
                    <asp:Button Font-Size="X-Small" ID="btnTim" runat="server" 
                        class="inbox-sf-search-btn" Text="Tìm" onclick="btnTim_Click" />
                    <div class="form-msg-good-advanced" runat="server" id="msgSuccess" style="display:none; float:left; margin-left:20px; margin-bottom:20px; width:220px;"></div>
                      
                </div><br />
    <asp:DataList ID="list" runat="server" style="margin-right: 575px" Width="100%" 
        DataKeyField="Id" ShowFooter="False" ShowHeader="False" >
        <ItemTemplate>
            <div class="slide-vstech" style="height:auto">
            <div class="leading">            
                <h2 class="contentheading">
                       <%# Eval("TenThietBi") %>
	            </h2>
                    <p class="iteminfo">
		                <span class="createdby">	        
		                    Nhà sản xuất : <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenNhaSanXuat") %>' />
		                    Đăng bởi : <asp:Label ID="author" runat="server" Text='<%# Eval("NguoiDang") %>' />
		                    Ngày đăng : <asp:Label ID="date" runat="server" Text='<%# Eval("NgayDang", "{0:dd/MM/yyyy}") %>' />
		                    <%--Lượt tải :<asp:Label ID="luottai" runat="server" Text='<%#Eval("LuotTai") %>' /> --%>
		                </span>
	                </p>
	               </div>
	            <table>
	                <tr>
	                    <td>
	                        <img src='<%# "images/tainguyen/" + Eval("HinhAnh") %>' alt="" border="0" height="120" width="140">
	                    </td>
	                    <td>
                                <p>
                                    <asp:Label ID="summary" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                                </p>
                        </td>
                     </tr>
                     <tr>
                        <td colspan="2">                                
                            <a href='<%# Eval("Link") %>' target="_blank"><img id="Img1" src="../../images/tainguyen/1324606627_ark2.png" runat="server" title="Tải về" style="margin-left:400px"/></a>                          
                        </td>
                     </tr>
                    
                </table> 
                <hr />           
	       
	        </div>        
        </ItemTemplate>
    </asp:DataList>
     <center>
                <table cellpadding="0" border="0" id="PhanTrang" runat ="server">
                    <tr>
                        <td align="right">
                            <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" OnClick="lbtnFirst_Click">Trang đầu</asp:LinkButton>&nbsp;
                        </td>
                        <td align="right">
                            <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" OnClick="lbtnPrevious_Click">Trang trước</asp:LinkButton>&nbsp;&nbsp;</td>
                        <td align="center" valign="middle">
                            <asp:DataList ID="dlPaging" runat="server" RepeatDirection="Horizontal" OnItemCommand="dlPaging_ItemCommand"
                                OnItemDataBound="dlPaging_ItemDataBound">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkbtnPaging" runat="server" CommandArgument='<%# Eval("PageIndex") %>'
                                        CommandName="Paging" Text='<%# Eval("PageText") %>'></asp:LinkButton>&nbsp;
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                        <td align="left">&nbsp;&nbsp;
                            <asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false"
                                OnClick="lbtnNext_Click">Trang tiếp</asp:LinkButton></td>
                        <td align="left">&nbsp;
                            <asp:LinkButton ID="lbtnLast" runat="server" CausesValidation="false" OnClick="lbtnLast_Click">Trang cuối</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5" align="center" style="height: 30px" valign="middle">
                            <asp:Label ID="lblPageInfo" runat="server" Visible="False"></asp:Label>
                        </td>
                    </tr>
                </table>
                </center>
</div>
